package org.rsbot.log;

import java.util.logging.Handler;
import java.util.logging.LogRecord;
import org.rsbot.gui.LogTextArea;

public class TextAreaLogHandler extends Handler
{
  public static final LogTextArea TEXT_AREA = new LogTextArea();

  public void close() throws SecurityException
  {
  }

  public void flush()
  {
  }

  public void publish(LogRecord paramLogRecord)
  {
    TEXT_AREA.log(paramLogRecord);
  }
}